data Property (Buslookup) |
Object that can be passed as an input parameter for the lookup page.
Syntax
HTML |
<IMG class="buslookup" data=oData> |
Scripting |
imgID.data= oData |
Parameters
Parameter |
Description |
---|---|
oData |
Object that denotes data that can be passed to the lookup page. |
Example
The following example shows how the property can be used.
<!-- HTML definition of the IMG tag for lookup --> <IMG id="imgLookup" class="buslookup" relatedColumn="EmployeeID" extraColumn="FirstName" application="employeesApp.XMLDocument"> //Function called to set the data property function beforeLookup() { var data = true; imgLookup.data = data; } //Function called in the "onselect" event of the application of the lookup page function selectapplication() { var data = event.data; if (data == true) { application.notify("Page is a lookup page !"); } }